﻿#region Copyright

// Majesty of Omega - The next evolution of macro management space strategy
// 
// Copyright 2007-2009 André Claaßen
// 
// This file is protected by the terms and conditions of the
// Microsoft Community License (Ms-CL 1.1), a copy of which should
// have been distributed along with this software. If not,
// you may find the license information at the following URL:
// 
// http://www.microsoft.com/resources/sharedsource/licensingbasics/communitylicense.mspx

#endregion

using Majesty_of_Omega.Logic.Calculate;
using Majesty_of_Omega.Logic.Generator;
using Majesty_of_Omega.Model.Report;

namespace Test.Majesty_of_Omega.TestUtils
{
    /// <summary>
    /// Helper class, to generate test objects for the game logic
    /// </summary>
    internal class GameLogicHelper
    {
        /// <summary>
        /// Creates the test calculate info.
        /// </summary>
        /// <returns></returns>
        public static CalculateInfo CreateTestCalculateInfo()
        {
            var saveGame = TestDataGenerator.TestSaveGame;

            var sitReportForTurn = new SitReportTurn();

            // This info accumulates informations of the new turns
            return new CalculateInfo(saveGame, saveGame.HumanPlayer, sitReportForTurn);
        }
    }
}